;
(function () {
    System.register(['./index-legacy-BBSVeb5I.js'], function (exports, module) {
        'use strict';

        var defineComponent, mergeModels, useModel, createElementBlock, normalizeClass, createCommentVNode,
            withDirectives, renderSlot, vModelDynamic, createBaseVNode, openBlock;
        return {
            setters: [function (module) {
                defineComponent = module.d;
                mergeModels = module.J;
                useModel = module.m;
                createElementBlock = module.a;
                normalizeClass = module.n;
                createCommentVNode = module.k;
                withDirectives = module.L;
                renderSlot = module.I;
                vModelDynamic = module.an;
                createBaseVNode = module.b;
                openBlock = module.o;
            }],
            execute: function execute() {
                var _hoisted_1 = {
                    key: 0,
                    class: "flex items-center pr-2 op50"
                };
                var _hoisted_2 = ["placeholder", "type", "maxlength", "min", "max"];
                var _hoisted_3 = {
                    key: 1,
                    class: "flex items-center pl-2 op50"
                };
                var _sfc_main = exports("_", /* @__PURE__ */defineComponent({
                    __name: "SimpleInput",
                    props: /* @__PURE__ */mergeModels({
                        type: {
                            default: "text"
                        },
                        maxlength: {},
                        placeholder: {},
                        min: {},
                        max: {}
                    }, {
                        "modelValue": {},
                        "modelModifiers": {}
                    }),
                    emits: ["update:modelValue"],
                    setup: function setup(__props) {
                        var value = useModel(__props, "modelValue");
                        return function (_ctx, _cache) {
                            return openBlock(), createElementBlock("div", {
                                class: normalizeClass(["input-base", [_ctx.$slots.prefix ? "pl-2" : "pl-3", _ctx.$slots.suffix ? "pr-2" : "pr-3"]])
                            }, [_ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "prefix")])) : createCommentVNode("", true), withDirectives(createBaseVNode("input", {
                                "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) {
                                    return value.value = $event;
                                }),
                                placeholder: _ctx.placeholder,
                                type: _ctx.type,
                                maxlength: _ctx.maxlength,
                                min: _ctx.min,
                                max: _ctx.max,
                                class: "w-full bg-transparent outline-none"
                            }, null, 8, _hoisted_2), [[vModelDynamic, value.value]]), _ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_3, [renderSlot(_ctx.$slots, "suffix")])) : createCommentVNode("", true)], 2);
                        };
                    }
                }));
            }
        };
    });
})();
